﻿using GalaSoft.MvvmLight;
using IGL_Talk_Windows_Desktop.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IGL_Talk_Windows_Desktop.ViewModel
{
    class NotificationViewModel : ViewModelBase
    {
        private NotificationModel _notification = new NotificationModel();
        public string Message
        {
            get { return _notification.Message; }
            set
            {
                _notification.Message = value;
                RaisePropertyChanged(() => Message);
            }
        }

        public int Position
        {
            get { return _notification.Position; }
            set
            {
                _notification.Position = value;
                RaisePropertyChanged(() => Position);
            }
        }


        public NotificationViewModel(string text, int position)
        {
            Message = text;
            Position = position;
        }
    }
}
